package com.yida.gwj.vote.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author lqq
 * @date 2023-04-25
 */
@ApiModel("投票房屋请求对象")
public class GwjVoteHouseQueryRequest implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("投票ID")
	@NotNull(message = "请求参数有误[voteId]不能为空")
	private Long voteId;

	@ApiModelProperty("基础房屋ID")
	private Long houseId;

	@ApiModelProperty("投票房屋ID")
	private Long voteHouseId;

	@ApiModelProperty("楼层序号")
	private Long floorNum;

	@ApiModelProperty("分户序号")
	private Long householdNum;

	@ApiModelProperty("房屋标识码")
	private String houseCode;

	@ApiModelProperty("楼栋标识码")
	@NotBlank(message = "请求参数有误[buildCode]不能为空")
	private String buildCode;

	@ApiModelProperty("房牌号")
	private String roomNum;

	@ApiModelProperty("房屋用途")
	private String useType;

	@ApiModelProperty("预测面积")
	private BigDecimal forecastSize;

	@ApiModelProperty("实测面积")
	private BigDecimal actualSize;

	@ApiModelProperty("地区ID")
	private Long areaId;

	@ApiModelProperty("街道ID")
	private Long streetId;

	@ApiModelProperty("坐落")
	private String houseLocation;

	@ApiModelProperty("1：已选择，0：未选择")
	private String selectFlag;

	public Long getHouseId() {
		return houseId;
	}

	public void setHouseId(Long houseId) {
		this.houseId = houseId;
	}

	public Long getVoteId() {
		return voteId;
	}

	public void setVoteId(Long voteId) {
		this.voteId = voteId;
	}

	public String getHouseCode() {
		return houseCode;
	}

	public void setHouseCode(String houseCode) {
		this.houseCode = houseCode;
	}

	public String getBuildCode() {
		return buildCode;
	}

	public void setBuildCode(String buildCode) {
		this.buildCode = buildCode;
	}

	public void setVoteHouseId(Long voteHouseId) {
		this.voteHouseId = voteHouseId;
	}

	public Long getVoteHouseId() {
		return voteHouseId;
	}

	public void setFloorNum(Long floorNum) {
		this.floorNum = floorNum;
	}

	public Long getFloorNum() {
		return floorNum;
	}

	public void setHouseholdNum(Long householdNum) {
		this.householdNum = householdNum;
	}

	public Long getHouseholdNum() {
		return householdNum;
	}

	public void setRoomNum(String roomNum) {
		this.roomNum = roomNum;
	}

	public String getRoomNum() {
		return roomNum;
	}

	public void setUseType(String useType) {
		this.useType = useType;
	}

	public String getUseType() {
		return useType;
	}

	public void setForecastSize(BigDecimal forecastSize) {
		this.forecastSize = forecastSize;
	}

	public BigDecimal getForecastSize() {
		return forecastSize;
	}

	public void setActualSize(BigDecimal actualSize) {
		this.actualSize = actualSize;
	}

	public BigDecimal getActualSize() {
		return actualSize;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setStreetId(Long streetId) {
		this.streetId = streetId;
	}

	public Long getStreetId() {
		return streetId;
	}

	public void setHouseLocation(String houseLocation) {
		this.houseLocation = houseLocation;
	}

	public String getHouseLocation() {
		return houseLocation;
	}

	public void setSelectFlag(String selectFlag) {
		this.selectFlag = selectFlag;
	}

	public String getSelectFlag() {
		return selectFlag;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("GwjVoteHouse{");
		sb.append("voteId=").append(voteId);
		sb.append(", houseId=").append(houseId);
		sb.append(", voteHouseId=").append(voteHouseId);
		sb.append(", floorNum=").append(floorNum);
		sb.append(", householdNum=").append(householdNum);
		sb.append(", houseCode='").append(houseCode).append('\'');
		sb.append(", buildCode='").append(buildCode).append('\'');
		sb.append(", roomNum='").append(roomNum).append('\'');
		sb.append(", useType='").append(useType).append('\'');
		sb.append(", forecastSize=").append(forecastSize);
		sb.append(", actualSize=").append(actualSize);
		sb.append(", areaId=").append(areaId);
		sb.append(", streetId=").append(streetId);
		sb.append(", houseLocation='").append(houseLocation).append('\'');
		sb.append(", selectFlag='").append(selectFlag).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
